package com.sunriz.javafx.server.Constant;

import lombok.Data;

/**
 * ClassName: ScadaConstant
 * Package: com.sunriz.javafx.server.Constant
 * Description:
 *
 * @Author BuTang
 * @Create 2024/12/26 15:15
 * @Version 1.0
 */

public class ScadaConstant {
    public static String FILE_PATH = System.getProperty("user.dir") + "/configFile/";
    public static String fileName = "";
    public static String FILE_ADD_SUCCESS = "文件创建成功";
    public static String FILE_ALREADY_EXIST = "文件已存在";
    public static String FILE_ADD_FAIL = "添加文件出错";
    public static final String FILE_DELETE_SUCCESS = "文件删除成功";
    public static final String FILE_DELETE_FAIL = "文件删除失败";
    public static final String FILE_DELETE_FAIL_PERMISSION = "文件删除失败，权限不足";
    public static final String FILE_NOT_EXIST = "文件不存在";
    public static final String DEMO_JSON = "[\n" +
            "  {\n" +
            "    \"slaveId\": \"1\",\n" +
            "    \"infos\": [\n" +
            "      {\n" +
            "        \"address\": 11,\n" +
            "        \"name\": \"null\"\n" +
            "      },\n" +
            "      {\n" +
            "        \"address\": 12,\n" +
            "        \"name\": \"null\"\n" +
            "      }\n" +
            "    ]\n" +
            "  },\n" +
            "  {\n" +
            "    \"slaveId\": \"2\",\n" +
            "    \"infos\": [\n" +
            "      {\n" +
            "        \"address\": 1,\n" +
            "        \"name\": \"null\"\n" +
            "      }\n" +
            "    ]\n" +
            "  },\n" +
            "  {\n" +
            "    \"slaveId\": \"3\",\n" +
            "    \"infos\": [\n" +
            "      {\n" +
            "        \"address\": 111,\n" +
            "        \"name\": \"null\"\n" +
            "      }\n" +
            "    ]\n" +
            "  },\n" +
            "  {\n" +
            "    \"slaveId\": \"321\",\n" +
            "    \"infos\": [\n" +
            "      {\n" +
            "        \"address\": 1,\n" +
            "        \"name\": \"null\"\n" +
            "      }\n" +
            "    ]\n" +
            "  },\n" +
            "  {\n" +
            "    \"slaveId\": \"9\",\n" +
            "    \"infos\": [\n" +
            "      {\n" +
            "        \"address\": 1,\n" +
            "        \"name\": \"null\"\n" +
            "      }\n" +
            "    ]\n" +
            "  }\n" +
            "]";
}
